package com.ma;

import com.ma.generator.BuildCodeUtil;
import com.ma.generator.Table;

import java.util.ArrayList;
import java.util.List;
public class GeneratCode {
    public static void main(String[] args) {
        List<Table> tableList = new ArrayList();
        //TODO *************   填写需要的表  start  *****************
        // tableList.add(new Table("表名(对应数据库)","类名(可自动下划线转驼峰、首字母大写)","表描述","所属模块(pom中module)");

        //TODO oracle

        // tableList.add(new Table("PRDABPPCFE.Z_UI_PLANT", "Z_UI_PLANT", "工厂UI表", "demo-order"));

        //TODO mysql

        // tableList.add(new Table("b_material", "material", "物料基础表##ZMARA", "demo-order"));

        //TODO pgsql

        // tableList.add(new Table("s_user", "user", "用户表", "demo-sys"));
        tableList.add(new Table("nideshop_ad", "shop_ad", "shop ad", "workspace"));

        BuildCodeUtil.build(tableList);
    }
}
